/*
 * @Author: 何 海深 813936564@qq.com
 * @Date: 2023-02-21 14:55:17
 * @LastEditors: 何 海深 813936564@qq.com
 * @LastEditTime: 2023-12-01 20:16:51
 * @FilePath: \datashowapicture\src\utils\mitt\mitt.ts
 * @Description: Event bus 事件总线
 */
import mitt, { Emitter } from 'mitt'
type Events = {
  [EventName: string]: any
}
const emitter: Emitter<Events> = mitt<Events>()
export default emitter
